From: Katsumi Yamaoka Date: Thu, 11 Nov 2010 04:01:12 +0000 (+0000) Subject: shr.el (shr-insert): Fix last change. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~324^2~5707 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=1f148911aaf71ed0106bbcdce4cb331fb3f37fc9;p=emacs.git shr.el (shr-insert): Fix last change. --- diff --git a/lisp/gnus/shr.el b/lisp/gnus/shr.el index 88e078b066f..d1788c334bc 100644 --- a/lisp/gnus/shr.el +++ b/lisp/gnus/shr.el @@ -240,11 +240,10 @@ redirects somewhere else." (progn (setq found (shr-find-fill-point)) (not (eolp)))) - (unless (prog1 - found - (when (eq (preceding-char) ? ) - (delete-char -1)) - (insert "\n")) + (when (eq (preceding-char) ? ) + (delete-char -1)) + (insert "\n") + (unless found (put-text-property (1- (point)) (point) 'shr-break t) ;; No space is needed at the beginning of a line. (when (eq (following-char) ? )